// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 在 main.js 中添加了这两行代码之后，就能直接在组件的 methods 中使用 $http命令
import axios from 'axios'
Vue.prototype.$http = axios

Vue.config.productionTip = false

// 注册BootstrapVue
import BootstrapVue from 'bootstrap-vue'
Vue.use(BootstrapVue);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
